#pragma once

#include <QObject>
#include <QThread>
#include <QTime>

class QThreadProducer  : public QThread
{
	Q_OBJECT

public:
	QThreadProducer(QObject *parent = nullptr);
	~QThreadProducer();
	void stop();
protected:
	void run() override;

private:
	int test{ 0 };
	int m_stop;
};
